package com.xu.modules.service.bo;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 个人用户注册
 *
 * @author xu
 * 2022/7/20 9:59
 */
@Data
public class PersonalUserRegisterBo {
    // 邮箱
    @NotBlank(message = "邮箱 不允许为空")
    @Email(message = "请输入正确的邮箱")
    private String email;
    // 昵称
    @NotBlank(message = "昵称 不允许为空")
    private String nickname;
    // 验证码
    @NotNull(message = " 验证码 不允许为空")
    private Integer captchaCode;
}
